import Vue from 'vue'
import VueRouter from 'vue-router';

Vue.use(VueRouter)

const routes = [
   {
     path: '/',
     name: 'login',
     component: ()=> import("@/views/Login/login.vue")
   },
   {
    path: '/container',
    name: 'container',
    component: ()=> import("@/views/Container/container.vue"),
    children:[
      {
        path:'/manage',
        name:'manage',
        component:() => import("@/views/manage/index.vue"),
      },
    ]
   }

]

const router = new VueRouter({
  routes
})

export default router
